package com.vhall.component.entity.rbac.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author dalong
 * @date 2021-05-18 15:32
 */

@Data
public class RoleAdminAddRspVO {
    private static final long serialVersionUID = 7337045672513290006L;

    @JsonProperty("role_id")
    private Integer roleId;

    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("角色标识")
    private String code;

    @ApiModelProperty("描述")
    private String desc;

    @ApiModelProperty("状态 0：正常 1：无效")
    private Integer status;

    @ApiModelProperty("应用id")
    @JsonProperty("app_id")
    private String appId;

    @ApiModelProperty("角色级别")
    private Integer level;

    @ApiModelProperty("创建时间")
    @JsonProperty("created_at")
    private LocalDateTime createdAt;

    @ApiModelProperty("更新时间")
    @JsonProperty("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty("删除时间")
    @JsonProperty("deleted_at")
    private LocalDateTime deletedAt;

    @JsonProperty("status_str")
    private String statusStr;
}
